package main.core.utils;

public class Useful {
	public static String getGetter(String property)
	{
		String prop = property;
		if(prop.substring(0, 2).equals("m_"))
			prop = prop.substring(2);
		return prop;
	}
	
	public static String getSetter(String property)
	{
		String lower_property = property.toLowerCase();
		String setter = "set" + lower_property.substring(0, 1).toUpperCase() + lower_property.substring(1);
		return setter;
	}
}
